package ${file.packageName};

<#list imports as item>
import ${item};
</#list>

public class ${name} {
    <#list fields as field>
    public ${field.type} ${field.name};
    </#list>

    <#list nestedTypes as nestedType>
    public static class ${nestedType.name} {
        <#list nestedType.fields as nestedTypeField>
        public ${nestedTypeField.type} ${nestedTypeField.name};
        </#list>

        <#list nestedType.nestedTypes as nestedType2>
        public static class ${nestedType2.name} {
            <#list nestedType2.fields as nestedTypeField2>
            public ${nestedTypeField2.type} ${nestedTypeField2.name};
            </#list>
        }

        </#list>
    }

    </#list>
}